package com.hmall.cart;

import com.hmall.api.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author zhengsuyang
 */
@MapperScan("com.hmall.cart.mapper")
@SpringBootApplication(scanBasePackages = {"com.hmall.cart","com.hmall.api"})
@EnableFeignClients(basePackages = {"com.hmall.api"},defaultConfiguration = DefaultFeignConfig.class)
public class CartServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(CartServiceApplication.class, args);
    }

}